package com.sykj.springboot;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class test0901 {

    @Test
    public void testSleep() throws InterruptedException{
        int count = 1;

        for (int i = 0; i < 100; i++) {
            Thread.sleep(1000);
            System.out.println("序号："+count);
            count += 1;
        }

    }


}
